<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php 
	$tv="select * from dm_sanpham where idsp='$_GET[id]'";
	$tv_1=mysql_query($tv);
	$tv_2=mysql_fetch_array($tv_1);
	$link_hinh="../image/ha_sp/".$tv_2['hinh'];
	unlink($link_hinh);
?>
<?php 
	$tv_xoa="DELETE FROM `dm_sanpham` WHERE `idsp` = '$_GET[id]'";
	mysql_query($tv_xoa);
	thongbao("Đã xóa thành công");
	trangtruoc();
?>